import { reactive } from 'vue'
import { defineStore } from 'pinia'
import { Height } from '/@/stores/interface'

export const useHeight = defineStore('height',() => {
    const state: Height = reactive({
        mainHeight:0
    })
    
    const setMainHeight = (height:number) => {
        state.mainHeight = height
    }

    return { state, setMainHeight }
})
